using System;

namespace Framework.Core.CommandLine
{
    [AttributeUsage(AttributeTargets.Property)]
    public class CommandLineArgsAttribute : Attribute
    {
        public string Name { get; set; }
        public string ShortName { get; set; }
        public ArgumentRequirements ArgumentRequirements { get; set; }
        public object DefaultValue { get; set; }
        public string Usage { get; set; }

        public override string ToString()
        {
            return string.Format(@"/{0}:({1})", ShortName, Usage);
        }
    }
}